# Maintainer: Avis Orsetti <avisorsetti@riseup.net>
pkgname=fff
pkgver=2.2
pkgrel=0
pkgdesc="Simple and fast file manager"
url="https://github.com/dylanaraps/fff"
arch="noarch"
license="MIT"
depends="bash coreutils xdg-utils"
subpackages="$pkgname-doc"
options="!check" # No tests provided
source="fff-$pkgver.tar.gz::https://github.com/dylanaraps/fff/archive/refs/tags/$pkgver.tar.gz"

package() {
	install -Dm755 -t "$pkgdir/usr/bin" $pkgname
	install -Dm644 -t "$pkgdir/usr/share/man/man1" $pkgname.1
	install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
	install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE.md
}

sha512sums="
364fef67b69aa28fc9448eb4b11c4d7152f11191fd4313f728b1bb00fbc80682dd2d3b4d65884aa3d70b82d319e2ca8e19bf7a06c04b250e49c3577caa5fe2cf  fff-2.2.tar.gz
"
